﻿<UserControl x:Class="Kiss.Silverlight.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    Width="600" Height="400" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" xmlns:data="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data">
    <Grid x:Name="LayoutRoot" Background="White">

    	<Grid.RowDefinitions>
    		<RowDefinition Height="35"/>
    		<RowDefinition Height="*"/>
    	</Grid.RowDefinitions>
        <TextBlock HorizontalAlignment="Left" Margin="8,16,0,0" VerticalAlignment="Top" Text="City:" TextWrapping="Wrap" Width="58.652" Height="18" x:Name="cityTextBlock" d:LayoutOverrides="VerticalAlignment, Width"/>
        <TextBox Height="22" HorizontalAlignment="Left" Margin="43,12,0,0" x:Name="cityTextBox" VerticalAlignment="Top" Width="174" Text="" TextWrapping="Wrap"/>
    	<Button HorizontalAlignment="Left" Margin="221,12,0,0" x:Name="getButton" Click="getButton_Click" VerticalAlignment="Top" Width="52" RenderTransformOrigin="0.07,0.636" Content="Get" d:LayoutOverrides="HorizontalAlignment"/>
        <Button HorizontalAlignment="Left" Margin="277,12,0,0" x:Name="updateButton" Click="updateButton_Click" VerticalAlignment="Top" Width="52" RenderTransformOrigin="0.07,0.636" Content="Update" />
        <data:DataGrid Margin="8,8,8,8" Grid.Row="1" x:Name="dataGrid" AutoGenerateColumns="True"/>

    </Grid>
</UserControl>
